<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>perlnetware - Perl for NetWare - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/perlnetware">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perlnetware.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/perlnetware">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/perlnetware">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/perlnetware">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/perlnetware">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/perlnetware">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/perlnetware">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/perlnetware">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/perlnetware">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/perlnetware">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/perlnetware">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/perlnetware">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/perlnetware">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/perlnetware">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/perlnetware">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/perlnetware">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/perlnetware">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/perlnetware">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/perlnetware">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/perlnetware">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/perlnetware">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/perlnetware">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/perlnetware">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/perlnetware">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/perlnetware">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/perlnetware">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/perlnetware">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/perlnetware">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/perlnetware">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/perlnetware">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/perlnetware">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/perlnetware">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/perlnetware">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/perlnetware">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/perlnetware">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/perlnetware">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/perlnetware">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/perlnetware">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/perlnetware">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/perlnetware">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/perlnetware">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/perlnetware">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/perlnetware">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/perlnetware">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/perlnetware">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/perlnetware">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/perlnetware">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/perlnetware">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/perlnetware">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/perlnetware">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/perlnetware">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/perlnetware">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/perlnetware">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/perlnetware">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/perlnetware">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/perlnetware">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/perlnetware">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/perlnetware">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/perlnetware">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/perlnetware">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/perlnetware">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/perlnetware">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/perlnetware">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/perlnetware">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/perlnetware">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/perlnetware">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/perlnetware">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/perlnetware">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/perlnetware">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/perlnetware">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/perlnetware">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/perlnetware">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/perlnetware">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/perlnetware">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/perlnetware">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/perlnetware">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/perlnetware">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/perlnetware">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/perlnetware">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/perlnetware">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/perlnetware">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perlnetware.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/perlnetware">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/perlnetware">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/perlnetware">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/perlnetware">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/perlnetware">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/perlnetware">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/perlnetware">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/perlnetware">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/perlnetware">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/perlnetware">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/perlnetware">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/perlnetware">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/perlnetware">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/perlnetware">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/perlnetware">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/perlnetware">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/perlnetware">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/perlnetware">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/perlnetware">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/perlnetware">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/perlnetware">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/perlnetware">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/perlnetware">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/perlnetware">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/perlnetware">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/perlnetware">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/perlnetware">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/perlnetware">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/perlnetware">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/perlnetware">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/perlnetware">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/perlnetware">5.35.1</a>
          <a class="dropdown-item active" href="perlnetware.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perlnetware.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="perlnetware.html">perlnetware</a>
          <div id="more">
            (<a href="perlnetware.txt">source</a>,
            <a href="https://metacpan.org/pod/perlnetware">CPAN</a>)
          </div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#DESCRIPTION">DESCRIPTION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#BUILD">BUILD</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#Tools-&amp;-SDK">Tools &amp; SDK</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#Setup">Setup</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#Make">Make</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#Interpreter">Interpreter</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#Extensions">Extensions</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#INSTALL">INSTALL</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#BUILD-NEW-EXTENSIONS">BUILD NEW EXTENSIONS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#ACKNOWLEDGEMENTS">ACKNOWLEDGEMENTS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#AUTHORS">AUTHORS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlnetware.html#DATE">DATE</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="perlnetware.html#NAME">#</a>NAME</h1>

<p>perlnetware - Perl for NetWare</p>

<h1 id="DESCRIPTION"><a class="permalink" href="perlnetware.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p>This file gives instructions for building Perl 5.7 and above, and also Perl modules for NetWare. Before you start, you may want to read the README file found in the top level directory into which the Perl source code distribution was extracted. Make sure you read and understand the terms under which the software is being distributed.</p>

<h1 id="BUILD"><a class="permalink" href="perlnetware.html#BUILD">#</a>BUILD</h1>

<p>This section describes the steps to be performed to build a Perl NLM and other associated NLMs.</p>

<h2 id="Tools-&amp;-SDK"><a class="permalink" href="perlnetware.html#Tools-&amp;-SDK">#</a><a id="Tools"></a><a id="Tools-SDK"></a>Tools &amp; SDK</h2>

<p>The build requires CodeWarrior compiler and linker. In addition, the &quot;NetWare SDK&quot;, &quot;NLM &amp; NetWare Libraries for C&quot; and &quot;NetWare Server Protocol Libraries for C&quot;, all available at <a href="http://developer.novell.com/wiki/index.php/Category:Novell_Developer_Kit">http://developer.novell.com/wiki/index.php/Category:Novell_Developer_Kit</a>, are required. Microsoft Visual C++ version 4.2 or later is also required.</p>

<h2 id="Setup"><a class="permalink" href="perlnetware.html#Setup">#</a>Setup</h2>

<p>The build process is dependent on the location of the NetWare SDK. Once the Tools &amp; SDK are installed, the build environment has to be setup. The following batch files setup the environment.</p>

<dl>

<dt id="SetNWBld.bat"><a class="permalink" href="perlnetware.html#SetNWBld.bat">#</a><a id="SetNWBld"></a>SetNWBld.bat</dt>
<dd>

<p>The Execution of this file takes 2 parameters as input. The first being the NetWare SDK path, second being the path for CodeWarrior Compiler &amp; tools. Execution of this file sets these paths and also sets the build type to Release by default.</p>

</dd>
<dt id="Buildtype.bat"><a class="permalink" href="perlnetware.html#Buildtype.bat">#</a><a id="Buildtype"></a>Buildtype.bat</dt>
<dd>

<p>This is used to set the build type to debug or release. Change the build type only after executing SetNWBld.bat</p>

<p>Example:</p>

<ol>

<li><p>Typing &quot;buildtype d on&quot; at the command prompt causes the buildtype to be set to Debug type with D2 flag set.</p>

</li>
<li><p>Typing &quot;buildtype d off&quot; or &quot;buildtype d&quot; at the command prompt causes the buildtype to be set to Debug type with D1 flag set.</p>

</li>
<li><p>Typing &quot;buildtype r&quot; at the command prompt sets it to Release Build type.</p>

</li>
</ol>

</dd>
</dl>

<h2 id="Make"><a class="permalink" href="perlnetware.html#Make">#</a>Make</h2>

<p>The make process runs only under WinNT shell. The NetWare makefile is located under the NetWare folder. This makes use of miniperl.exe to run some of the Perl scripts. To create miniperl.exe, first set the required paths for Visual c++ compiler (specify vcvars32 location) at the command prompt. Then run nmake from win32 folder through WinNT command prompt. The build process can be stopped after miniperl.exe is created. Then run nmake from NetWare folder through WinNT command prompt.</p>

<p>Currently the following two build types are tested on NetWare:</p>

<ul>

<li><p>USE_MULTI, USE_ITHREADS &amp; USE_IMP_SYS defined</p>

</li>
<li><p>USE_MULTI &amp; USE_IMP_SYS defined and USE_ITHREADS not defined</p>

</li>
</ul>

<h2 id="Interpreter"><a class="permalink" href="perlnetware.html#Interpreter">#</a>Interpreter</h2>

<p>Once miniperl.exe creation is over, run nmake from the NetWare folder. This will build the Perl interpreter for NetWare as <i>perl.nlm</i>. This is copied under the <i>Release</i> folder if you are doing a release build, else will be copied under <i>Debug</i> folder for debug builds.</p>

<h2 id="Extensions"><a class="permalink" href="perlnetware.html#Extensions">#</a>Extensions</h2>

<p>The make process also creates the Perl extensions as <i>&lt;Extension</i>.nlm&gt;</p>

<h1 id="INSTALL"><a class="permalink" href="perlnetware.html#INSTALL">#</a>INSTALL</h1>

<p>To install NetWare Perl onto a NetWare server, first map the Sys volume of a NetWare server to <i>i:</i>. This is because the makefile by default sets the drive letter to <i>i:</i>. Type <i>nmake nwinstall</i> from NetWare folder on a WinNT command prompt. This will copy the binaries and module files onto the NetWare server under <i>sys:\Perl</i> folder. The Perl interpreter, <i>perl.nlm</i>, is copied under <i>sys:\perl\system</i> folder. Copy this to <i>sys:\system</i> folder.</p>

<p>Example: At the command prompt Type &quot;nmake nwinstall&quot;. This will install NetWare Perl on the NetWare Server. Similarly, if you type &quot;nmake install&quot;, this will cause the binaries to be installed on the local machine. (Typically under the c:\perl folder)</p>

<h1 id="BUILD-NEW-EXTENSIONS"><a class="permalink" href="perlnetware.html#BUILD-NEW-EXTENSIONS">#</a><a id="BUILD1"></a>BUILD NEW EXTENSIONS</h1>

<p>To build extensions other than standard extensions, NetWare Perl has to be installed on Windows along with Windows Perl. The Perl for Windows can be either downloaded from the CPAN site and built using the sources, or the binaries can be directly downloaded from the ActiveState site. Installation can be done by invoking <i>nmake install</i> from the NetWare folder on a WinNT command prompt after building NetWare Perl by following steps given above. This will copy all the *.pm files and other required files. Documentation files are not copied. Thus one must first install Windows Perl, Then install NetWare Perl.</p>

<p>Once this is done, do the following to build any extension:</p>

<ul>

<li><p>Change to the extension directory where its source files are present.</p>

</li>
<li><p>Run the following command at the command prompt:</p>

<pre><code class="plaintext">perl -II&lt;path to NetWare lib dir&gt; -II&lt;path to lib&gt; Makefile.pl</code></pre>

<p>Example:</p>

<pre><code class="plaintext">perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread           \
                            -Ic:\perl\5.6.1\lib MakeFile.pl</code></pre>

<p>or</p>

<pre><code class="plaintext">perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread           \
                            -Ic:\perl\5.8.0\lib MakeFile.pl</code></pre>

</li>
<li><p>nmake</p>

</li>
<li><p>nmake install</p>

<p>Install will copy the files into the Windows machine where NetWare Perl is installed and these files may have to be copied to the NetWare server manually. Alternatively, pass <i>INSTALLSITELIB=i:\perl\lib</i> as an input to makefile.pl above. Here <i>i:</i> is the mapped drive to the sys: volume of the server where Perl on NetWare is installed. Now typing <i>nmake install</i>, will copy the files onto the NetWare server.</p>

<p>Example: You can execute the following on the command prompt.</p>

<pre><code class="plaintext">perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread             \
                              -Ic:\perl\5.6.1\lib MakeFile.pl
INSTALLSITELIB=i:\perl\lib</code></pre>

<p>or</p>

<pre><code class="plaintext">perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread             \
                              -Ic:\perl\5.8.0\lib MakeFile.pl
INSTALLSITELIB=i:\perl\lib</code></pre>

</li>
<li><p>Note: Some modules downloaded from CPAN may require NetWare related API in order to build on NetWare. Other modules may however build smoothly with or without minor changes depending on the type of module.</p>

</li>
</ul>

<h1 id="ACKNOWLEDGEMENTS"><a class="permalink" href="perlnetware.html#ACKNOWLEDGEMENTS">#</a>ACKNOWLEDGEMENTS</h1>

<p>The makefile for Win32 is used as a reference to create the makefile for NetWare. Also, the make process for NetWare port uses miniperl.exe to run scripts during the make and installation process.</p>

<h1 id="AUTHORS"><a class="permalink" href="perlnetware.html#AUTHORS">#</a>AUTHORS</h1>

<p>Anantha Kesari H Y (hyanantha@novell.com) Aditya C (caditya@novell.com)</p>

<h1 id="DATE"><a class="permalink" href="perlnetware.html#DATE">#</a>DATE</h1>

<ul>

<li><p>Created - 18 Jan 2001</p>

</li>
<li><p>Modified - 25 June 2001</p>

</li>
<li><p>Modified - 13 July 2001</p>

</li>
<li><p>Modified - 28 May 2002</p>

</li>
</ul>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
